package connection.commands;

import java.io.IOException;
import java.io.ObjectOutputStream;

/** @author Mihail A. Muhin */
public class GetLastVersionCommand extends BaseCommand {
  private String filename = null;

  public String getFilename() {
    return filename;
  }

  public GetLastVersionCommand(String filename) {
    this.filename = filename;
  }

  public void write(ObjectOutputStream oos) {
    try {
      writeClassName(oos);
      oos.writeObject(filename);
    } catch (IOException e) {
    }
  }
}
